﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="iframe.aspx.vb" MasterPageFile="~/Apps/MasterPage.master" Inherits="Apps_iframe" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" runat="Server">
<script language="JavaScript"> 
  <!--
    function calcHeight() {
        //find the height of the internal page
        //var the_height = document.getElementById('redirectFrame').contentWindow.document.body.scrollHeight;
        //change the height of the iframe
        //document.getElementById('redirectFrame').height = the_height + 50;
    }
//-->
</script>
<iframe src="<%=redirectUrl %>" name="redirectFrame" id="redirectFrame" frameborder="0" height="600" width="829" onload="calcHeight();">
</iframe> 
</asp:Content>
